﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.UI;

namespace TrexSpace.Shell.Helpers
{
    public static class UrlExtensions
    {
        public static string WebResource(this UrlHelper urlHelper, Type type, string resourcePath)
        {
            var page = new Page();
            return page.ClientScript.GetWebResourceUrl(type, resourcePath);
        }
    }
}